#ifndef CIRCLE_H
#define CIRCLE_H

#include <math.h>
#include "Shape.h"

namespace custom{

class Circle: public Shape {
private:
    float r = 0;

public:

    Circle(Point2f center, float r) : Shape(center), r(r) {}
    Circle() : Shape(), r(0) {}

    float solvePerimeter() override;
    float solveArea() override;

    friend float operator|(const Circle& , const Circle&);

    friend float operator&(const Circle& , const Circle&);

};



}

#endif // CIRCLE_H
